#ifndef __READER_THREAD_TEST_H__
#define __READER_THREAD_TEST_H__

#pragma once

#include <cppunit/extensions/HelperMacros.h>

#include <ballade/network.h>
#include <ballade/smartclient.h>

namespace Ballade
{
	namespace SmartClient
	{
		class ReaderThreadTest : public CppUnit::TestFixture
		{
			CPPUNIT_TEST_SUITE(ReaderThreadTest);
			CPPUNIT_TEST(testStart);
			CPPUNIT_TEST(testIsTerminated);
			CPPUNIT_TEST_SUITE_END();

		public:
			void setUp();
			void tearDown();
			void testStart();
			void testIsTerminated();

		private:
			Network::Socket *_socket;
			ReaderThread *_reader;
		};
	}
}
#endif